Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Set log level of a specific package using logging trait #4844

Closed

Conversation

realMartinez
Copy link
Contributor

@realMartinez realMartinez commented Oct 23, 2023

  • added capability to the logging trait to set log level of user specified package
  • added unit test

Usage:
-t "logging.category.'org.test'=DEBUG"

Release Note

feat: Set log level of a specific package using logging trait

Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to make generate in order to generate the trait documentation and CRD associated with the change. Thanks.

pkg/trait/logging_test.go Outdated Show resolved Hide resolved
@squakez squakez changed the title Feat: Set log level of a specific package using logging trait feat: Set log level of a specific package using logging trait Oct 23, 2023
pkg/trait/logging_test.go Outdated Show resolved Hide resolved
@realMartinez
Copy link
Contributor Author

I generated the docs and also made the changes you requested.

Copy link
Contributor

@squakez squakez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, good job! One more thing. We may provide an example inline with the new parameter as we do for route annotations.

@realMartinez
Copy link
Contributor Author

Great, good job! One more thing. We may provide an example inline with the new parameter as we do for route annotations.

I amended the documentation to include CLI usage example

@squakez squakez marked this pull request as draft October 25, 2023 09:09
@squakez
Copy link
Contributor

squakez commented Oct 25, 2023

@realMartinez I'm converting to a draft as I understand you're going to work on E2E test to validate the feature. Thanks.

github-actions bot and others added 14 commits November 13, 2023 09:09
Bumps [knative.dev/serving](https://github.com/knative/serving) from 0.38.1 to 0.38.2.
- [Release notes](https://github.com/knative/serving/releases)
- [Commits](knative/serving@v0.38.1...v0.38.2)

---
updated-dependencies:
- dependency-name: knative.dev/serving
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Remove the reconciliation loop and the kamelet.status property
As it could be used by any external tool.
Bumps [knative.dev/eventing](https://github.com/knative/eventing) from 0.38.4 to 0.38.5.
- [Release notes](https://github.com/knative/eventing/releases)
- [Commits](knative/eventing@v0.38.4...v0.38.5)

---
updated-dependencies:
- dependency-name: knative.dev/eventing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/prometheus/common/releases)
- [Commits](prometheus/common@v0.44.0...v0.45.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
* Useful to know from which image a kit hierarchy started
* added builder.base-image property trait to override easily the base image

Ref apache#2844
Copy link
Contributor

🐫 Thank you for contributing! 🐫

Unable to create Coverage Report ⚠️.
Merge conflicts found.

Copy link
Contributor

🐫 Thank you for contributing! 🐫

Unable to create Coverage Report ⚠️.
Merge conflicts found.

Copy link
Contributor

This PR has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

@realMartinez
Copy link
Contributor Author

Need to close this PR, will link this to the new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFE] Allow to set log level of a specific package using logging trait
5 participants